*{
    margin: 0;
    padding: 0;
}
body{
    font-family: "Microsoft YaHei UI";
    font-size: 14px;
    color: #444;
    padding-top: 50px;
}
.nav{
    position: fixed;
    top: 0;/*让小红书图片永远保持在顶端*/
    left: 0;
    width: 100%;
    height: 44px;
    padding: 10px 15px;
    box-sizing: border-box;
    background-color: #fff;/*白色不是透明了*/
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
.nav a:last-child{
    float: right;
}
.nav a img{
    height: 24px;
}
.category{
    list-style: none;
    background: #f4f8fa;
    padding: 10px 10px;
    box-sizing: border-box;
    width: 100%;
    overflow-x: hidden;
}
.category li{
    color: #888;
    display: inline-block;
    margin-right:15px ;
    border: 1px solid #ddd;
    padding:  0 15px;
    line-height: 20px;
    border-radius: 10px;
    background-color: #fff;
}
.category li.active{
    color: #444;
    font-weight: bold;/*字体加粗显示*/
}
.top_img img{
    width: 100%;
}
.goods_block{
    margin: 15px 0px;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 20px ;
}
.goods_block .title{
    color: #666666;
}
.goods_block .title a{
    color: #888888;
    text-decoration:none;
    float: right;
}
.goods_block .content{
    padding: 20px 0;
    text-align: center;



}
.goods_block .content .goods{
    width: 45%;
    box-sizing: border-box;
    display: inline-block;/*同一行*/
    margin-right: 10px;
    text-align: left;
}
.goods_block .content .goods .image img{
    width: 100%;
    border-radius: 10px;
}
.goods_block .content .goods h4{
    width: 100%;
    overflow: hidden;
    display: block;
    margin: 5px 0;
}